#ifndef _MUTEXLOCK_H
#define _MUTEXLOCK_H
#include <pthread.h>
#include "Nocopyable.hpp"

class MutexLock : public Nocopyable
{
public:
    MutexLock();
    ~MutexLock();

    void lock();
    void unlock();
    pthread_mutex_t * getMutex();
private:
   pthread_mutex_t _mutex; 
};

#endif

